<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>jsonp跨域的应用</title>
		<!--引入jquery-->
		<script type="text/javascript" src="static/js/jquery-1.12.4/jquery-1.12.4.min.js"></script>
		<script type="text/javascript">
			$.ajax({
				type: "GET",
				url: "https://api.douban.com/v2/book/search?q=javascript&count=1",
				//data: "name=John&location=Boston",
				success: function(data) {
					console.info("Data Saved: " + msg);
					alert("请求成功！");
				}
				
			});
		</script>

	</head>

	<body>
	</body>

</html>